/* Import Fonts */

@font-face {
    font-family: "IRANSansWeb";
    src: url("../media/fonts/IRANSansWeb.woff2") format("woff2"), url("../media/fonts/IRANSansWeb.woff") format("woff"), url("../media/fonts/IRANSansWeb.ttf") format("truetype");
    font-style: normal;
}


/* Basic Settings */

 :root {
    --primary-color: #203e76;
    --primary-text-color: #5d5f6b;
    --secondary-text-color: #4c4f53;
    --primary-background-color: #fefefe;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body,
html {
    font-family: "IRANSansWeb";
    font-size: 16px;
    background-color: var(--primary-background-color);
    overflow-x: hidden;
    margin-right: 10px;
    margin-left: 10px;
}


/* Main Classes */

.widthClass {
    max-width: 1366px;
    margin: auto;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.listClass {
    list-style: none;
}

.anchorList {
    text-decoration: none;
}

.flexRow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.flexColumn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.paraghraph {
    font-size: 1rem;
    font-weight: 400;
    line-height: 30px;
    color: var(--secondary-text-color);
}

.btn-Senveera {
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    background-color: rgba(32, 62, 118, 0.8);
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 5px 5px 5px 20px;
    transition: all 0.3s ease-out;
}

.btn-Senveera:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
    color: #fff;
}


/* Home Page */


/* Mobile Navbar Styles */

#mobileNavbar {
    background-color: #fff !important;
    position: relative;
}

.navbar-toggler {
    border: 1.5px solid var(--primary-text-color);
}

.navbar-toggler:focus,
.navbar-toggler:active {
    box-shadow: none;
}

.navbar-nav {
    padding: 12px;
    align-items: center;
    gap: 48px;
}

.nav-item a {
    color: var(--primary-text-color);
    font-weight: 700;
}

#callMobile {
    gap: 10px;
    justify-content: right;
}


/* drop down menu */

.dropdown {
    position: initial;
}

.dropdown-toggle::after {
    display: none;
}

button.show {
    color: #51a7f2 !important;
}

button.show svg {
    transform: rotateX(0.5turn);
    stroke: #51a7f2 !important;
}

button.show svg path {
    stroke: #51a7f2;
}

.dropdown button {
    background-color: #fefefe;
    color: var(--primary-text-color);
    font-weight: 700;
    border: 0;
    transition: all 0.2s ease-out;
}

.dropdown button svg {
    margin-right: 6px;
    transition: all 0.2s ease-out;
    width: 16px;
    height: 16px;
}

.dropdown-menu {
    width: 100%;
    border: 0;
    background-color: #fefefe;
}

.dropdown-menu>div {
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 40px;
}

.dropdown-menu>div ul {
    text-align: right;
    gap: 28px;
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--primary-text-color);
}

.dropdown-menu>div ul li a {
    color: var(--primary-text-color);
}

.dropDownHeading {
    font-weight: 700;
    color: var(--primary-color) !important;
}

#dropDownImg img {
    width: 100%;
    height: 100%;
}


/* Carousel */

#headerCarousel {
    height: 648px;
}

#headerCarousel .headerCarouselInner {
    padding: 0;
}

#headerCarousel .carousel-item {
    width: 1366px;
    height: 648px;
}


/* Header Carousel Slide 1 */

#header-slider-1 {
    background-image: url("../media/img/header-slider-1.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#header-slider-1>div {
    display: flex !important;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    height: 100%;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
    margin-right: 133px;
    gap: 12px;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box p,
#headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box>img {
    display: block;
    width: 272px;
    height: 32px;
    margin: 12px 0;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box>a {
    margin-top: 24px;
}


/* Header Carousel Slide 2 */

#header-slider-2 {
    background-image: url("../media/img/header-slider-2.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#header-slider-2>div {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(2) .header-slider-box {
    display: flex !important;
    flex-direction: row;
    align-items: flex-end;
    width: 200px;
    height: 200px;
}


/* Header Carousel Slide 3 */

#header-slider-3 {
    background-image: url("../media/img/header-slider-3.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#header-slider-3>div {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(3) .header-slider-box {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 300px;
    height: 300px;
    gap: 40px;
    margin-top: 80px;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(3) .header-slider-box p {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}


/* About Section */

.contenth1 {
    color: #134197;
    text-align: center;
    margin-top: 50px;
    font-size: bolder;
    text-shadow: 1px 1px 4px #0b337e;
}

.contenth1:hover {
    color: #265bbe;
    text-shadow: 3px 3px 10px #082f77;
    transition-delay: 3ms;
}

.contenth2 {
    color: #a00ab4;
    /* text-align: center; */
    margin-top: 50px;
    font-size: bolder;
    /* text-shadow: 2px 2px 4px #880599; */
}


/* Footer */

footer {
    background-color: var(--secondary-text-color);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 400;
    padding-top: 54px;
    padding-bottom: 64px;
}

footer a {
    color: #fff;
    font-weight: 500;
}

footer>div>div {
    justify-content: space-between !important;
}


/* Footer Info Container */

.footerInfoContainer {
    padding-bottom: 100px;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.footerNav {
    gap: 45px;
}

.footerNavContainer {
    gap: 24px;
    align-items: flex-start;
}

.footerNavContainer a {
    transition: color 0.3s ease-out;
    color: rgb(216, 216, 216);
}

.footerNavContainer a:hover {
    color: #fff;
}


/* Footer Logo Container */

.footerLogoContainer>div:nth-of-type(1) {
    width: 100%;
    justify-content: left;
}

.footerLogoContainer>div:nth-of-type(2) {
    padding-top: 110px;
}

.footerLogoContainer>div:nth-of-type(2)>div {
    justify-content: right;
}

.footerLogoContainer>div:nth-of-type(2)>div {
    gap: 24px;
}

.footerLogoContainer>div:nth-of-type(2)>div p {
    margin-bottom: 0 !important;
}

.footerLogoContainer>div:nth-of-type(2)>div:nth-of-type(2) {
    padding-top: 24px;
}


/* copy right container */

.copyRightContainer {
    padding-top: 22px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    border-top: 0.5px solid rgba(255, 255, 255, 0.3);
}

.copyRightContainer>div {
    gap: 15px;
}


/* Media Query Styles */

@media screen and (max-width: 1366px) {
    #headerCarousel {
        height: auto;
    }
    #headerCarousel .carousel-item {
        width: 100vw;
    }
}

@media screen and (max-width: 1280px) {
    #headerCarousel .carousel-inner .carousel-item:nth-of-type(1)>div {
        justify-content: center;
    }
    #headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box {
        margin-right: 0;
        background-color: #fefefec4;
        border-radius: 10px;
    }
}

@media screen and (max-width: 1200px) {
    #navbar {
        padding: 0 36px;
    }
    .container {
        width: calc(100vw - 100px);
    }
    .navbar-nav {
        gap: 25px;
    }
}

@media screen and (max-width: 1100px) {
    #services-item-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        width: 70%;
    }
    .navbar-nav {
        gap: 15px;
    }
    .services>div,
    .about {
        height: auto;
    }
    .product-item {
        width: 260px;
        height: 420px;
    }
    .product-item img {
        width: 220px;
        height: 220px;
    }
    #dropDownImg {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    #headerCarousel {
        padding-top: 65px;
    }
    /* change header slider pictures */
    #header-slider-1 {
        background-image: url("../media/img/slidermobile1.jpg");
    }
    #header-slider-2 {
        background-image: url("../media/img/slidermobile2.jpg");
    }
    #header-slider-3 {
        background-image: url("../media/img/slidermobile3.jpg");
    }
    #headerCarousel .carousel-item {
        height: 100vh;
    }
    #headerCarousel .carousel-inner .carousel-item:nth-of-type(3) .header-slider-box {
        margin-top: 150px;
    }
    #headerCarousel .carousel-inner .carousel-item:nth-of-type(2) .header-slider-box {
        align-items: center;
    }
    #mobileNavbar {
        background-color: var(--primary-background-color) !important;
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        padding: 12px;
        z-index: 100;
    }
    .navbar-nav {
        align-items: flex-start;
        gap: 20px;
    }
    #callMobile {
        height: 35px;
    }
    #callMobile img {
        display: none;
    }
}

@media screen and (max-width: 950px) {
    .product-item {
        width: 250px;
        height: 400px;
    }
    .product-item img {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 900px) {
    body,
    html {
        font-size: 14px;
    }
    .about>div {
        flex-direction: column;
        padding: 80px 0;
        gap: 50px;
    }
    .services {
        padding: 80px 0;
    }
    .products {
        height: auto;
        padding: 80px 0;
    }
    #services-item-container {
        width: 100%;
    }
}

@media screen and (max-width: 870px) {
    .product-item {
        width: 200px;
        height: 350px;
    }
    .product-item img {
        width: 150px;
        height: 150px;
    }
    .product-item>div h5 {
        font-size: 1rem;
    }
    .footerInfoContainer {
        flex-direction: column-reverse;
        gap: 50px;
        padding-bottom: 50px;
    }
    .footerLogoContainer {
        gap: 50px;
    }
    .footerLogoContainer>div:nth-of-type(2) {
        padding-top: 0;
    }
    .footerLogoContainer>div:nth-of-type(1) {
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    #headerCarousel .carousel-inner .carousel-item:nth-of-type(2) .header-slider-box a {
        margin-right: 10px;
    }
    .dropdown-menu>div {
        flex-direction: column;
        gap: 12px;
        padding: 10px;
    }
    .dropdown-menu>div ul li {
        display: none;
    }
    .dropDownHeading {
        display: block !important;
    }
    #slider>div>div {
        transform: translateX(100px) translateY(75px);
    }
    .products>div {
        gap: 20px;
    }
    .product-item {
        width: 320px;
        height: 471px;
    }
    .product-item img {
        width: 250px;
        height: 250px;
    }
    .product-item>div h5 {
        font-size: 1.25rem;
    }
    #productsCarousel .row>div>a,
    #projectsCarousel .row>div>a {
        display: flex;
        justify-content: center;
    }
    .product-item>div p {
        font-size: 1rem;
    }
    .copyRightContainer {
        flex-direction: column;
    }
}

@media screen and (max-width: 560px) {
    .copyRightContainer p {
        text-align: center;
    }
    .container {
        width: 90vw;
    }
    #slider>div>div {
        transform: translateX(35px) translateY(75px);
        gap: 40px;
    }
}

@media screen and (max-width: 460px) {
    .footerLogoContainer>div:nth-of-type(1) img {
        width: 200px;
    }
    .product-item {
        width: 250px;
        height: 400px;
    }
    .product-item img {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 400px) {
    #slider>div>img {
        max-width: 300px;
        max-height: 466px;
    }
    #slider>div>div {
        transform: translateX(12px) translateY(50px);
        gap: 30px;
    }
    #slider>div>div>img {
        transition: all 0.3s ease-out;
        max-width: 270px;
    }
    #slider>div>div>img:hover {
        transform: scale(1.05);
    }
}